package cn.tedu.qxhouserent.house.mapper;

import cn.tedu.qxhouserent.house.pojo.entity.UserHouseAppoint;
import cn.tedu.qxhouserent.house.pojo.entity.UserHouseCollection;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserHouseCollectionMapper extends BaseMapper<UserHouseCollection> {



    int insertBatch(UserHouseCollection[] userHouseCollections);

    int deleteByUserIdAndHouseId(Long userId,Long houseId);

    List<Long> getUserHouseCollectionIds(Long id);


}
